package com.ly.heart.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ly.heart.domain.KingFinancePayEntity;
import com.ly.heart.domain.vo.KingFinancePayMenuVo;

import java.util.List;

public interface KingFinancePayMapper extends BaseMapper<KingFinancePayEntity> {

    /**
     * 查询金蝶-财务-付款单
     *
     * @param id 金蝶-财务-付款单ID
     * @return 金蝶-财务-付款单
     */
    KingFinancePayEntity selectKingFinancePayEntityById ( String id );

    /**
     * 查询金蝶-财务-付款单列表
     *
     * @param kingFinancePayEntity 金蝶-财务-付款单
     * @return 金蝶-财务-付款单集合
     */
    List<KingFinancePayEntity> selectKingFinancePayEntityList ( KingFinancePayEntity kingFinancePayEntity );

    Integer queryCount ( KingFinancePayEntity kingFinancePayEntity );

    /**
     * 付款退款单选单，选择付款单
     * @param kingFinancePayEntity
     * @return
     */
    List<KingFinancePayMenuVo> queryList ( KingFinancePayEntity kingFinancePayEntity );

    Integer queryCountMenu ( KingFinancePayEntity kingFinancePayEntity );

    /**
     * 通过Id查询关联信息
     *
     * @param id
     * @return
     */
    KingFinancePayEntity querySingleById ( String id );

}
